if require("sknvim.config").ide_mode then
    return {
        url = "https://github.com/nvimtools/none-ls.nvim",
        config = function()
            local null_ls = require("null-ls")

            null_ls.setup({
                sources = {
                    null_ls.builtins.completion.luasnip,

                    null_ls.builtins.formatting.prettier,
                    null_ls.builtins.formatting.clang_format,
                    null_ls.builtins.formatting.isort,
                    null_ls.builtins.formatting.black,

                    null_ls.builtins.diagnostics.pylint,
                    null_ls.builtins.diagnostics.cppcheck,
                    null_ls.builtins.diagnostics.codespell,
                    -- null_ls.builtins.completion.spell,
                    -- null_ls.builtins.diagnostics.mypy,
                    -- null_ls.builtins.diagnostics.selene,
                    -- null_ls.builtins.diagnostics.alex, -- kill it with fire!
                },
            })
        end,
        dependencies = {
            "https://github.com/nvim-lua/plenary.nvim",
        },
        keys = {
            { "<leader>fh", vim.lsp.buf.format }
        },
        lazy = false,
    }
end

return {}
